﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VideoClassLibrary.Model
{
    public  class V_announcement
    {
        public V_announcement()
        { }
        #region Model
        private int _id;
        private string _announcementtitle;
        private string _announcementcontent;
        private int _schoolid;
        private int _ispublished;
        private int _createrid;
        private string _creatername;
        private DateTime _createdtime;
        private DateTime _updatetime;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AnnouncementTitle
        {
            set { _announcementtitle = value; }
            get { return _announcementtitle; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AnnouncementContent
        {
            set { _announcementcontent = value; }
            get { return _announcementcontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int SchoolId
        {
            set { _schoolid = value; }
            get { return _schoolid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int IsPublished
        {
            set { _ispublished = value; }
            get { return _ispublished; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int CreaterId
        {
            set { _createrid = value; }
            get { return _createrid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreaterName
        {
            set { _creatername = value; }
            get { return _creatername; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreatedTime
        {
            set { _createdtime = value; }
            get { return _createdtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        #endregion Model
    }
}
